package boss.portal.entity.system;

import boss.portal.entity.Common;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "system_menu")
public class SystemMenu extends Common {

    @Column(name = "menu_name")
    private String menuName;

    @Column(name = "parent_id")
    private Long parentId;

    @Column(name = "sort")
    private Integer sort;

    @Column(name="func_name")
    private String funcName;

    @Column(name="is_enabled")
    private Integer isEnabled;

    @Column(name = "description")
    private String description;
}
